import  {GOODSLIST} from '../action-types/cartTypes'
let data ={
  goodsList:[],
  totalPrice:0
}
const cartReducers = (state={...data} , action) => {
    switch (action.type) {
      case GOODSLIST:
        console.log('satte',state)
        return state
      default:
        return state
    }
}
export default cartReducers